xen: arm64: clear boot_first instead of boot_pgtable twice
authorDennis Lan (dlan) <dennis.yxun@gmail.com>
Wed, 4 Dec 2013 14:37:25 +0000 (14:37 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 4 Dec 2013 14:37:25 +0000 (14:37 +0000)
Signed-off-by: Lan Yixun (dlan) <dennis.yxun@gmail.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
xen/arch/arm/mm.c

index e6753fee6ec793190beb4474d64135406094311c..399e54652dd074ad1a1e9d656bbc124262a1bda4 100644 (file)
@@ -470,7 +470,7 @@ void __init setup_pagetables(unsigned long boot_phys_offset, paddr_t xen_paddr)
     memset(boot_pgtable, 0x0, PAGE_SIZE);
     flush_xen_dcache(boot_pgtable);
 #ifdef CONFIG_ARM_64
-    memset(boot_pgtable, 0x0, PAGE_SIZE);
+    memset(boot_first, 0x0, PAGE_SIZE);
     flush_xen_dcache(boot_first);
 #endif
     memset(boot_second, 0x0, PAGE_SIZE);